package com.qst.rongxiaotong.pojo;

import lombok.Data;
import java.util.Date;

@Data
public class User {

    private Integer id;

    private String userName;

    private String password;

    private String nickName;

    private String phone;

    private String identityNum;

    private String address;

    private String role;  // 默认值 'user'

    private Date createTime;

    private Date updateTime;

    private Integer integral = 500;  // 默认值 500

    private Integer credit = 5;  // 默认值 5

    private String avatar;

    private String realName;
}
